package edu.whut.mall.admin.dto;

import lombok.Builder;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @Author smq
 * @Date 2021/8/16 11:16
 * @Uint d9lab
 * @Description:
 */
@Data
public class PageDto {
    @NotBlank(message="当前页数不能为空")
    private Integer current;

    @NotBlank(message="当前页限制不能为空")
    private Integer size;

    @NotBlank(message="排序依据")
    private String orderBy;

    private Boolean asc;

    private String search;
}
